package org.sky.sys.mapper;
import org.sky.sys.entity.SysRole;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
* @author weifx
* @Title: SysRoleMapper
* @ProjectName platform-core
* @Description: TODO{角色表Mapper}
* @date 2019-3-1 15:11:26
* @Version 1.0
*/
public interface SysRoleMapper extends Mapper<SysRole>{
    /**
     * 查询用户的所拥有的角色
     * @param userCode
     * @return
     */
    List<SysRole> selectSysRoleByUserCode(String userCode);
}